package tables

import (
	"time"
)

type WithdrawalLog struct {
	Id             int       `xorm:"not null pk autoincr INT(10)" json:"id" form:"id" mapstructure:"id"`
	UserId         int       `xorm:"" json:"user_id" form:"user_id" mapstructure:"user_id"`
	OutBillNo      string    `xorm:"" json:"out_bill_no" form:"out_bill_no" mapstructure:"out_bill_no"`
	TransferBillNo string    `xorm:"" json:"transfer_bill_no" form:"transfer_bill_no" mapstructure:"transfer_bill_no"`
	State          string    `xorm:"" json:"state" form:"state" mapstructure:"state"`
	CreatedAt      time.Time `xorm:"created" json:"created_at" form:"created_at" mapstructure:"created_at"`
	UpdatedAt      time.Time `xorm:"updated" json:"updated_at" form:"updated_at" mapstructure:"updated_at"`
	DeletedAt      time.Time `xorm:"deleted" json:"deleted_at" form:"deleted_at" mapstructure:"deleted_at"`
	Openid         string    `xorm:"" json:"openid" form:"openid" mapstructure:"openid"`
	Avatar         string    `xorm:"" json:"avatar" form:"avatar" mapstructure:"avatar"`
	TotalAmount    int       `xorm:"" json:"total_amount" form:"total_amount" mapstructure:"total_amount"`
	WithdrawalId   int       `xorm:"" json:"withdrawal_id" form:"withdrawal_id" mapstructure:"withdrawal_id"`
	PackageInfo    string    `xorm:"" json:"package_info" form:"package_info" mapstructure:"package_info"`
	SubMchId       string    `xorm:"" json:"sub_mch_id" form:"sub_mch_id" mapstructure:"sub_mch_id"`
}
